package manager;

/*
 * This extends PuzzleItem. It is the storage for
 * a jumble.
 */
public class JumbleItem implements PuzzleItem {
	private String jumble;
	private StandardWord word;
	
	public JumbleItem(StandardWord w, String j) {
		word = w;
		jumble = j;
	}

	public void showPuzzle() {
	    System.out.println(jumble + "\t" + word.clue + "\t" + word.hint + "\n");
	}

	public void setJumble(String j) {
		jumble = j;
	}

	public String getWord() {
		return word.getWord();
	}

	public void setWord(StandardWord w) {
		word = w;
	}

}
